home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 22 / Amiga Format AFCD22 (Jan 1998, Issue 106).iso / -in_the_mag- / converters / graphics / netpbm / mp_pbm50 / smakefile < prev   
Makefile  |  1997-11-16  |  2KB  |  57 lines

  1. # MP_PBM - Gui interface to PBMPlus routines
  2. # Copyright (C) © 1995 Mark John Paddock
  3.  
  4. # $VER: MP_PBM_smakefile 5.0 (15.5.96)
  5.  
  6. # This program is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 2 of the License, or
  9. # any later version.
  10.  
  11. # This program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. # GNU General Public License for more details.
  15.  
  16. # You should have received a copy of the GNU General Public License
  17. # along with this program; if not, write to the Free Software
  18. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  
  20. # mpaddock@cix.compulink.co.uk
  21. # mark@topic.demon.co.uk
  22.  
  23. # Make file for MP_PBM and SAS/C 6.55
  24.  
  25. # various defines
  26. DS        = sD/
  27. GS        = sG/
  28. IF        = $(IS)iffp/
  29. I         = .info
  30. G         = Gui/
  31.  
  32. MPPBMDIST = PBM PBM$(I) PBM.guide PBM.guide$(I) RunMPGui MPGui.library $(G)PBM.gui smakefile lha/emptyfile $(DS)PBM.texi smakefile COPYING
  33.  
  34. # Default is to generate Source and Object lha
  35. Everything: lha/MP_PBM50.lha
  36.  
  37. # Delete all the built files (except two above) to force a recompile
  38. Delete:
  39.    -delete PBM.guide $(G)PBM/\#?.(bak|info)
  40.  
  41. # MP_PBM lha distribution
  42. lha/MP_PBM50.lha: $(MPPBMDIST) $(G)PBM
  43.     -delete lha/MP_PBM50.lha
  44.     lha -a -F u -x lha/MP_PBM50.lha <@<
  45.     $(MPPBMDIST)
  46.     <
  47.    lha -a -F u -x lha/MP_PBM50.lha $(G)PBM/~(\#?.(bak|info))
  48.  
  49. PBM.guide: $(DS)PBM.texi
  50.    Makeinfo --amiga-39 -o PBM.guide $(DS)PBM.texi
  51.  
  52. RunMPGui: /MPGui50/RunMPGui
  53.     Copy /MPGui50/RunMPGui RunMPGui
  54.  
  55. MPGui.library: /MPGui50/MPGui.library
  56.     Copy /MPGui50/MPGui.library MPGui.library
  57.